package com.justrun.zjutsystem.zjutsystem.service;

import com.justrun.response.ResultEntity;
import com.justrun.zjutsystem.zjutsystem.entity.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 * 教师用户信息表 服务类
 * </p>
 *
 * @author chandler
 * @since 2020-09-27
 */
@Service
public interface TeacherService extends IService<Teacher> {

    ResultEntity getTeacherList(String teacherId, String teacherName,String gender, Integer pageIndex, Integer pageSize);

    ResultEntity getTeacherList2(String teacherId, String teacherName, String gender, Integer pageIndex, Integer pageSize);

    ResultEntity addTeacher(Teacher teacher);

    ResultEntity exportTeacher();

    ResultEntity importTeacher();

    ResultEntity batchAdd(List<List<String>> resultList);

    ResultEntity turnStatus(String teacherId, String status);


//    void export(HttpServletResponse response) throws Exception;

//    ResultEntity importData(MultipartFile teacherFile);
}
